
function aa(){
    const obj = [{a:1},{a:2}]
    const o = obj.filter(content=>content.a==1)
    console.log(o)
    // let a= {a:1}
    // let b =a
    // // b={c:1}
    // console.log("->",a,b)
}

function test(){
    Promise.all([aa]).then(res=>{
        console.log
    }).catch(e=>{})
}

aa()